package com.naire.modul.projecplan.service;

import net.common.service.GeneralService;
import com.naire.modul.projecplan.dao.ProjecplanDao;
import com.naire.modul.projecplan.dao.impl.ProjecplanDaoImpl;
import com.naire.modul.projecplan.vo.ProjecplanVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class ProjecplanDeleteService extends GeneralService {

	private ProjecplanVo bean;

	@Override
	public void execute() throws Exception {
		ProjecplanDao dao = new ProjecplanDaoImpl();
		dao.delete(bean.getPlan_id());
	}

	public void setBean(ProjecplanVo bean) {
		this.bean = bean;
	}

}
